package cn.udinghuo.model.archives.system;

import com.fasterxml.jackson.annotation.JsonSetter;

import org.springframework.util.Assert;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Column;
import cn.udinghuo.core.domain.entity.BaseEntity;	
import cn.udinghuo.core.domain.entity.Comment;
import cn.udinghuo.core.domain.entity.ita.AutoIncrement;
import cn.udinghuo.core.domain.entity.ita.CacheKey;
import cn.udinghuo.core.domain.entity.ita.NotIdCache;

/**
 * @author zhaoyt
 *	手机版本
 */
@Entity
@AutoIncrement 
@NotIdCache
@Table(name="phoneversion")
public class PhoneVersion extends BaseEntity<Long>  {

	private static final long serialVersionUID = 2130706432L;
	/**
	* 系统名称osName
	*/
	@Comment(value="系统名称")
	@Column(name="cOsName")
	private String osName;
	/**
	* 最新的U订货版本udhVersion
	*/
	@Comment(value="最新的U订货版本")
	@Column(name="cVersion")
	private String udhVersion;
	/**
	* 更新路径updateUrl
	*/
	@Comment(value="更新路径")
	@Column(name="cUpdateUrl")
	private String updateUrl;
	@CacheKey
	public String getOsName() {
		return this.osName;
	}
	
	public void setOsName(String value) {
		this.osName = value;
	}
	
	public String getUdhVersion() {
		return this.udhVersion;
	}
	
	public void setUdhVersion(String value) {
		this.udhVersion = value;
	}
	
	public String getUpdateUrl() {
		return this.updateUrl;
	}
	
	public void setUpdateUrl(String value) {
		this.updateUrl = value;
	}
	
}
